/*
 * @Author: 吴世扬 18368095041@163.com
 * @Date: 2024-07-12 11:30:42
 * @LastEditors: 吴世扬 18368095041@163.com
 * @LastEditTime: 2024-07-12 11:56:55
 * @FilePath: /vue3-uniapp/src/other/vitePlugins/vitePluginConfigDebug.ts
 */
// vite-plugin-timestamp.ts
import type { Plugin } from 'vite';
// import fs from 'fs';

export const vitePluginConfigDebug = (): Plugin => {
    return {
        name: 'vite-plugin-config',
        config(options) {
            console.log(options);
        },

        configResolved(options) {
            console.log(options);
        }
    };
};
